dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Update weblinks in comments from HTTP to HTTPS"
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
fields
/
HTMLIntField.php
diff --git
a/includes/htmlform/fields/HTMLIntField.php
b/includes/htmlform/fields/HTMLIntField.php
index
f9ee2b2
..
c87a778
100644
(file)
--- a/
includes/htmlform/fields/HTMLIntField.php
+++ b/
includes/htmlform/fields/HTMLIntField.php
@@
-4,7
+4,7
@@
* A field that must contain a number
*/
class HTMLIntField extends HTMLFloatField {
- function validate( $value, $alldata ) {
+
public
function validate( $value, $alldata ) {
$p = parent::validate( $value, $alldata );
if ( $p !== true ) {